package com.flux.ui.main;

import ui.base.BaseController;
import ui.base.BaseView;
import com.flux.models.bean.EventInfo;

import java.util.List;

/**
 * Created by cxlin007 on 2017/10/30.
 */

public interface MainConstant {

    interface View extends BaseView<Controller>{
        void showLoading();
        void showError();
        void showContent(List<EventInfo> data);
    }

    interface Controller extends BaseController{

        void fetchEvents();
    }
}
